<template>
    <div>
<a>登录</a>
<h1>vue:基础语法--vue助力</h1>
出生地点:<select>
<option value="">请选择</option>
<option value="" v-for="item in city" :key="item.id">{{ item.name }}</option>
</select>
    </div>
</template>


<script setup lang="ts">
//import { ref, reactive } from 'vue'
import { ref,reactive } from 'vue';
let city = ref([
    {id:1,name:'河北',img:'https://img0.baidu.com/it/u=3260376025,1255253612&fm=253&fmt=auto&app=138&f=JPEG?w=800&h=1200'},
    {id:2,name:'河南'},
    {id:3,name:'湖南'},
    {id:4,name:'山西'}
])

</script>

<style scoped>

</style>